{template 'common/header'}
<div class='container' style='padding:0 5px 10px;margin:0;width:100%'>
<ul class="nav nav-tabs">
  <li {if $opp == 'setup'}class="active"{/if}><a href="{php echo $this->createWebUrl('setup');}">系统基本设置</a></li>
  <li {if $opp == 'message'}class="active"{/if}><a href="{php echo $this->createWebUrl('message');}">模板消息设置</a></li>
  <li {if $opp == 'tabbar'}class="active"{/if}><a href="{php echo $this->createWebUrl('tabbar');}">底部菜单<span style="color: red">(beta)</span>设置</a></li>
</ul>
</div>
<div class="main">
<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data">

	    <input type="hidden" name="id" value="{$deat['id']}" />
        
		<div class="panel panel-default">

			<div class="panel-heading">

			模板消息设置

			</div>

			<div class="panel-body">
          
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">续费成功通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template1" name="template1"  class="form-control" value="{$deat['template1']}"/>
                        <div class="help-block">模板编号：AT0021，关键词【金额，续费时长，客户姓名，续费类型，备注】</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">审核通过提醒</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template2" name="template2"  class="form-control" value="{$deat['template2']}"/>
                        <div class="help-block">模板编号：AT0168，关键词【审核结果、审核人】</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">待审核通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template3" name="template3"  class="form-control" value="{$deat['template3']}"/>
                        <div class="help-block">模板编号：AT0874，关键词【申请人、审核类型】</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">绑定成功通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template4" name="template4"  class="form-control" value="{$deat['template4']}"/>
                        <div class="help-block">模板编号：AT0045，关键词【绑定结果、用户名】</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">名片新增收藏通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template5" name="template5"  class="form-control" value="{$deat['template5']}"/>
                        <div class="help-block">模板编号：AT0214，关键词【收藏人、对方公司、对方职位、备注】</div>
                    </div>
                </div>
               <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">评论回复通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template6" name="template6"  class="form-control" value="{$deat['template6']}"/>
                        <div class="help-block">模板编号：AT1235，关键词【评论主题、评论者、评论内容、回复者、回复内容】</div>
                    </div>
                </div>
                 <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">名片申请交换通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template7" name="template7"  class="form-control" value="{$deat['template7']}"/>
                        <div class="help-block">模板编号：AT1300，关键词【申请人、公司名称、职位、备注】</div>
                    </div>
                </div>
                 <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 control-label">名片同意交换通知</label>
                    <div class="col-sm-9 col-xs-9 col-md-7 col-xs-12">
                        <input type="text" id="template8" name="template8"  class="form-control" value="{$deat['template8']}"/>
                        <div class="help-block">模板编号：AT0802，关键词【审核人、备注】</div>
                    </div>
                </div>
                
		</div>

		<div class="form-group col-sm-12">

			<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />

			<input type="hidden" name="token" value="{$_W['token']}" />

		</div>

	</form>

</div>

{template 'common/footer'}